﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Web.Models
{
    public class TagDto
    {
        [Key]
        public long Id { get; set; }

        public Guid Guid { get; set; }

        [Display(Name = "Name")]
        [Required]
        public string Name { get; set; }

        [Display(Name = "Unit")]
        public string Unit { get; set; }

        [Required]
        public long UnitId { get; set; }
    }
}